package jobs.model.dao;

import jobs.pattern.design.DAOComposite;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import jobs.model.KnowledgeArea;

/**
 *
 * @author Paul Tamayo
 */
@Stateless
public class KnowledgeAreaDAO extends DAOComposite<KnowledgeArea> {
    @PersistenceContext(unitName = "jobsPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public KnowledgeAreaDAO() {
        super(KnowledgeArea.class);
    }
    
}
